﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResReader
    {
        /// <summary>
        /// 资源类型，详见附录A.2 资源类型
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#ae7cd6c8
        /// </summary>
        public string resourceType { get; set; }
        /// <summary>
        /// 资源唯一标志
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 资源名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 所属区域编号
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 设备IP
        /// </summary>
        public string ip { get; set; }
        /// <summary>
        /// 设备端口
        /// </summary>
        public string port { get; set; }
        /// <summary>
        /// 主动设备编号
        /// </summary>
        public string deviceCode { get; set; }
        /// <summary>
        /// 设备驱动
        /// </summary>
        public string deviceKey { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string deviceModel { get; set; }
        /// <summary>
        /// 设备系列
        /// </summary>
        public string deviceType { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string dataVersion { get; set; }
        /// <summary>
        /// 所属网域
        /// </summary>
        public string netZoneId { get; set; }
        /// <summary>
        /// 拨码
        /// </summary>
        public string deployId { get; set; }
        /// <summary>
        /// 通信方式，0：韦根;1：RS232;2：RS485
        /// </summary>
        public string communicationMode { get; set; }
        /// <summary>
        /// 父级资源编号
        /// </summary>
        public string parentIndexCode { get; set; }
        /// <summary>
        /// 显示顺序
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 设备能力，详见数据字典A.44
        /// </summary>
        public string capability { get; set; }
        /// <summary>
        /// 创建时间，ISO8601标准
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 更新时间，ISO8601标准
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 状态小于0，则资源已删除
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 门禁点序号
        /// </summary>
        public string doorNo { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string comId { get; set; }
        /// <summary>
        /// 卡容量
        /// </summary>
        public string acsReaderCardCapacity { get; set; }
        /// <summary>
        /// 指纹容量
        /// </summary>
        public string acsReaderFingerCapacity { get; set; }
        /// <summary>
        /// 人脸容量
        /// </summary>
        public string acsReaderFaceCapacity { get; set; }
        /// <summary>
        /// 区域名称，符号"/"进行分隔
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 所属区域路径名，符号"/"进行分隔
        /// </summary>
        public string regionPathName { get; set; }
    }

}
